package cn.rxyb.test;

import cn.rxyb.core.random.DoubleRandom;
import org.junit.Test;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/6/26 15:10
 */
public class Random {

    @Test
    public void doubleRandom() {
        System.out.println("double 随机数生成:" + DoubleRandom.getInstance().random());
        System.out.println("double 随机数生成:" + DoubleRandom.getInstance().random(9.3, 10.8));
        System.out.println("double 随机数生成:" + DoubleRandom.getInstance().random(20.8));
    }
}
